﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;

namespace SIAKAD.Helper
{
    public static class SiakadScript
    {
        private const string ScriptOpen = @"<script type='text/javascript'>";
        private const string ScriptClose = @"</script>";

        public static string InsertToScript(string script)
        {
            var sb = new StringBuilder();
            sb.Append(ScriptOpen);
            sb.Append(script);
            sb.Append(ScriptClose);

            return sb.ToString();
        }

        public static string PagerStyle()
        {
            return InsertToScript("InitPaging();");
        }
    }
}